<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <%@ include file="/WEB-INF/views/common/common.jsp" %>
     <script src="/static/json/view.js"></script>
    <script type="text/javascript" src="/static/js/system/stock.js"></script>
</head>

<%--主页面工具栏--%>
<body>
<table id="stock_datagrid"></table>
<div id="stock_toolbar">
    <a class="easyui-linkbutton" href="#" iconCls="icon-ok" plain="true" data-cmd="add" id="add">盘点审核</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-remove" plain="true" data-cmd="delestT" id="delestT">删除</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-reload" plain="true" data-cmd="reloadT">刷新</a>
</div>



<%--主页面下部按钮--%>
<div id="stock_btns">
    <a class="easyui-linkbutton" href="#" iconCls="icon-save" plain="true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" href="#" iconCls="icon-cancel" plain="true" data-cmd="closeT">取消</a>
</div>

<%--复制添加行--%>
<table id="itemTr">
    <tr>
        <td></td>
        <td>
            <span tag="sn" name="product.sn"></span>
            <input type="hidden" name="product.id" tag="pid"/>
        </td>
        <td><span tag="name" name="product.name"></span></td>
        <td><input tag="number" name="number" type="number" /></td>
        <td><input tag="costPrice" name="product.costPrice" type="number"/></td>
        <td><span tag="amount"></span></td>
        <td><input tag="remark" name="remark"/></td>
        <td>
            <a class="easyui-linkbutton deleteItem" href="#" iconCls="icon-remove" plain="true"></a>
        </td>
    </tr>
</table>

<%--添加/编辑页面--%>
<div id="stock_dialog">
    <form id="stock_form" method="post">
        <input type="hidden" name="id" id="orderBillId">
        <table align="center"style="margin :15px; border-spacing:10px;">
            <tr>
                <td>&nbsp;&nbsp;&nbsp;序号:<input id="StockId" type="text" name="id" style="width:170px;" class="easyui-textbox" readonly="true"/></td>
            </tr>
            <tr>
                <td>&nbsp;商品名称:<input name="productName" style="width:170px;" class="easyui-textbox" readonly="true"/></td>
            </tr>
                <td>&nbsp;商品类别:<input  type="text" name="productFirstlevel" class="easyui-textbox" readonly="true"/></td>
            <tr>
                <td>当前库存量:<input  type="text" name="stockNumber" class="easyui-textbox" readonly="true"/></td>
            </tr>
            <tr>
                <td>盘点后数量:<input  type="number" name="newStockNumber" class="easyui-numberbox" required="true" min="0"/></td>
            </tr>
            <tr>
                <td>&nbsp;盘点记录:<textarea name="remark" required="true"></textarea></td>
            </tr>
        </table>
    </form>
</div>
<div id="product_view"><table id="pro_datagrid"></table></div>
</body>

</html>












